package com.woniuxy.carlife.carlifeplatformweb.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName: ManagerAccountRole
 *@Description: 账号角色表
 * @author: huangxinyan     
 * @date: 2021-04-05
 */

@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("t_manager_account_role")
@ApiModel(value="ManagerAccountRole对象", description="账号角色表")
public class ManagerAccountRole implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty(value = "id")
        @TableId(value = "manager_account_role_id", type = IdType.AUTO)
      private Integer managerAccountRoleId;

      @ApiModelProperty(value = "账号id")
      private Integer managerAccountId;

      @ApiModelProperty(value = "角色id")
      private Integer managerRoleId;

      @ApiModelProperty(value = "角色名称")
      private String managerRoleName;

      @ApiModelProperty(value = "创建时间")
        @TableField(fill = FieldFill.INSERT)
      private Date gmtCreate;

      @ApiModelProperty(value = "修改时间")
        @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date gmtModified;


}
